package com.elangzhi.ssm.model;

import com.elangzhi.ssm.model.base.BaseModel;

import java.util.List;

public class User extends BaseModel {

    private Long id;

    private String name;

    private String head;

    private String sex;

    private String intro;

    private String thinksId;

    private String nickName;
    private String phone;
    private String wechat;
    private String qq;

    private List<Talk> talks;
    private List<GoodsComment> comments;

    public User(Long id, String name, String head, String sex, String intro, String thinksId) {
        this.id = id;
        this.name = name;
        this.head = head;
        this.sex = sex;
        this.intro = intro;
        this.thinksId = thinksId;
    }

    public User() {
        super();
    }

    public List<Talk> getTalks() {
        return talks;
    }

    public void setTalks(List<Talk> talks) {
        this.talks = talks;
    }

    public List<GoodsComment> getComments() {
        return comments;
    }

    public void setComments(List<GoodsComment> comments) {
        this.comments = comments;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getWechat() {
        return wechat;
    }

    public void setWechat(String wechat) {
        this.wechat = wechat;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getThinksId() {
        return thinksId;
    }

    public void setThinksId(String thinksId) {
        this.thinksId = thinksId;
    }
}